package com.slfx.stock.service;

import com.slfx.order.pojo.OrderDetail;
import com.slfx.stock.pojo.Stock;

import java.util.List;

public interface StockService {

    Boolean reduceStock(List<OrderDetail> orderDetailList, String flag);

    Stock getStockInfo(String goodsId);
}
